import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
    {
      // path: '/:cartList(.*)*',
      path:'/cartList',
      name: 'cartList',
      component:()=>import('../components/CartList.vue')
      },
      {
      path:'/addCart',
      name: 'addCart',
      component:()=>import('../components/AddCart.vue')
    },
      {
      path:'/verify',
      name: 'verify',
      component:()=>import('../components/verifyOne.vue')
      },
      {
      path:'/son1',
      name: 'son1',
      component:()=>import('../components/Son1Com.vue')
    },
  ]
})

export default router
